public class Demo2 {
        public static void main(String[] args) {
            study();
        }
        public static void study(){
            eat();
            System.out.println("学习");
            sleep();
        }
        public static void eat(){
            System.out.println("吃饭");
        }
        public static void sleep(){
            System.out.println("睡觉");
        }
}
